package com.ruoyi.system.domain.user;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 会员余额变动对象 vs_user_money_log
 * 
 * @author zzx
 * @date 2024-04-30
 */
public class VsUserMoneyLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long userId;

    /** 变更余额 */
    @Excel(name = "变更余额")
    private BigDecimal money;

    /** 变更前余额 */
    @Excel(name = "变更前余额")
    private BigDecimal before;

    /** 变更后余额 */
    @Excel(name = "变更后余额")
    private BigDecimal after;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    private Long createtime;

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setBefore(BigDecimal before) 
    {
        this.before = before;
    }

    public BigDecimal getBefore() 
    {
        return before;
    }
    public void setAfter(BigDecimal after) 
    {
        this.after = after;
    }

    public BigDecimal getAfter() 
    {
        return after;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("money", getMoney())
            .append("before", getBefore())
            .append("after", getAfter())
            .append("memo", getMemo())
            .append("createtime", getCreatetime())
            .toString();
    }
}
